package com.smartrodin.springbootrabbitmq.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author arnold_nie
 * @Description: mq 发送失败记录表
 * @date 2020-07-09
 * @version: V1.0
 */
@Setter
@Getter
@ToString
public class MqSendFileLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "消息发送类型，1: 信用支付成功消息；2：订单折扣新增；3：订单折扣删除")
    private Integer msgSendType;

    @ApiModelProperty(value = "消息")
    private String msg;

    @ApiModelProperty(value = "发送失败处理状态 1: 未处理；2：已重发")
    private Integer status;

    @ApiModelProperty(value = "重发次数，新增数据默认为 0")
    private Integer failNumber;

    @ApiModelProperty(value = "交换机")
    private String exchange;

    @ApiModelProperty(value = "路由")
    private String routingKey;

    @ApiModelProperty(value = "异常消息")
    private String errorMsg;

    @ApiModelProperty(value = "删除状态：1->正常 ; 2->删除  默认1")
    private Integer delFlag;

}